home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 140
/
(Vol 140) Sep 19 2011.iso
/
Games
/
red_cross_eru.swf
/
scripts
/
__Packages
/
gamebase
/
need
/
Person.as
< prev
next >
Wrap
Text File
|
2011-09-19
|
9KB
|
232 lines
§§push(true);
§§push(false);
§§push(false);
§§push(true);
while(true)
{
if(§§pop())
{
}
if(§§pop())
{
}
if(§§pop())
{
break;
}
§§push(true);
§§push(false);
}
if(!e.f)
{
e.f = new g();
}
§§pop();
if(!e.f.h)
{
e.f.h = new g();
}
§§pop();
if(!e.f.h[§§constant(4)])
{
var _loc2_ = f.h[§§constant(4)] = function(iObj)
{
this[§§constant(5)] = 100;
this[§§constant(6)] = iObj[§§constant(6)];
this[§§constant(7)] = iObj[§§constant(7)];
this[§§constant(8)] = iObj[§§constant(8)];
this[§§constant(9)] = iObj[§§constant(9)];
this[§§constant(10)] = iObj[§§constant(10)];
this[§§constant(7)] = iObj[§§constant(7)];
this[§§constant(11)] = iObj[§§constant(11)];
this[§§constant(12)] = iObj[§§constant(12)];
this[§§constant(13)] = iObj[§§constant(9)] * 25;
this[§§constant(14)] = iObj[§§constant(10)] * 25;
this[§§constant(15)] = iObj[§§constant(11)] * 25;
this[§§constant(16)] = iObj[§§constant(17)] * 25;
this[§§constant(18)] = iObj[§§constant(18)];
this[§§constant(19)] = new g({§\§\§constant(20)§:this[§§constant(15)] + 8 * this[§§constant(18)],§\§\§constant(21)§:this[§§constant(16)] + 8 * this[§§constant(18)]});
this[§§constant(22)] = iObj[§§constant(22)];
this[§§constant(23)] = new §\§\§constant(28)§(§§constant(27),§§constant(26),§§constant(25),§§constant(24));
this[§§constant(29)] = new §\§\§constant(28)§(undefined,§§constant(33),§§constant(32),§§constant(31),§§constant(30));
this[§§constant(34)] = false;
this.h = this[§§constant(35)] = 0;
}[§§constant(36)];
_loc2_[§§constant(37)] = function()
{
var _loc5_ = undefined;
if(this[§§constant(22)] == 0)
{
this[§§constant(38)] = _global[§§constant(39)][§§constant(40)];
_loc5_ = 21;
}
else
{
this[§§constant(38)] = _global[§§constant(39)][§§constant(41)];
_loc5_ = 20;
}
var _loc8_ = this[§§constant(19)][§§constant(20)] + 12.5;
var _loc7_ = this[§§constant(19)][§§constant(21)] + 12.5;
var _loc9_ = new eval(§§constant(44))[§§constant(45)][§§constant(46)](this[§§constant(12)][§§constant(20)] + _loc8_ - this[§§constant(12)][§§constant(43)] / 2 - _loc5_,this[§§constant(12)][§§constant(21)] + _loc7_ - this[§§constant(12)][§§constant(42)] / 2 - _loc5_);
var _loc6_ = _root[§§constant(51)](f[§§constant(48)][§§constant(49)][§§constant(50)](),_root[§§constant(47)]());
f[§§constant(48)][§§constant(52)][§§constant(53)](_loc6_,_loc5_,_loc5_,_loc5_,20,this[§§constant(38)]);
var _loc4_ = new eval(§§constant(44))[§§constant(54)][§§constant(55)](_loc5_ * 2,_loc5_ * 2,true,0);
_loc4_[§§constant(56)](_loc6_);
_loc4_[§§constant(59)](_loc4_,new eval(§§constant(44))[§§constant(45)][§§constant(58)](0,0,_loc4_[§§constant(43)],_loc4_[§§constant(42)]),new eval(§§constant(44))[§§constant(45)][§§constant(46)](0,0),§§constant(57),4278190080,0,4278190080,false);
_global[§§constant(39)][§§constant(60)][§§constant(61)](_loc4_,new eval(§§constant(44))[§§constant(45)][§§constant(58)](0,0,_loc4_[§§constant(43)],_loc4_[§§constant(42)]),_loc9_,null,null,false);
_loc4_[§§constant(62)]();
false;
_loc6_[§§constant(63)]();
};
_loc2_[§§constant(64)] = function()
{
if(this[§§constant(22)] == 0)
{
return false;
}
if(this[§§constant(22)] > 2)
{
return false;
}
this[§§constant(35)] = 1 - this[§§constant(35)];
this[§§constant(34)] = false;
return true;
};
_loc2_[§§constant(65)] = function(need)
{
var _loc3_ = undefined;
var _loc2_ = undefined;
if(need != 0)
{
_loc3_ = §§constant(66);
_loc2_ = this[§§constant(29)][need];
}
else
{
_loc3_ = §§constant(67);
_loc2_ = this[§§constant(29)][this.h];
}
this[§§constant(68)](_loc2_,_loc3_);
this.h = need;
return true;
};
_loc2_[§§constant(69)] = function(stat)
{
var _loc4_ = undefined;
var _loc2_ = undefined;
if(this[§§constant(22)] < stat)
{
_loc4_ = §§constant(66);
_loc2_ = this[§§constant(23)][stat];
}
else
{
_loc4_ = §§constant(67);
if(stat == 0 && this[§§constant(22)] == 1)
{
_loc2_ = §§constant(27);
}
else
{
_loc2_ = this[§§constant(23)][this[§§constant(22)]];
}
}
if(stat == 0)
{
this[§§constant(70)] = this[§§constant(22)];
}
this[§§constant(68)](_loc2_,_loc4_);
this[§§constant(22)] = stat;
this[§§constant(35)] = 0;
this[§§constant(34)] = false;
if(this[§§constant(71)]() == §§constant(27))
{
this[§§constant(5)] = 100;
this[§§constant(72)] = §§constant(74)(this,§§constant(73),40);
}
return true;
};
_loc2_[§§constant(68)] = function(icon, type)
{
if(f[§§constant(48)][§§constant(78)][§§constant(79)](this[§§constant(77)](),this[§§constant(76)](),_global[§§constant(75)][§§constant(20)],_global[§§constant(75)][§§constant(21)]) > 500)
{
return undefined;
}
if(icon == §§constant(24))
{
icon = §§constant(80);
}
if(icon == §§constant(81))
{
icon = §§constant(27);
}
if(icon == §§constant(25))
{
icon = §§constant(26);
}
var _loc4_ = f[§§constant(48)][§§constant(85)][§§constant(86)](_global[§§constant(83)][§§constant(84)],§§constant(82));
var _loc5_ = _global[§§constant(83)][§§constant(84)][§§constant(94)](§§constant(93),§§constant(93) + _loc4_,_loc4_,{§\§\§constant(87)§:this[§§constant(77)]() - 9 - _global[§§constant(75)][§§constant(88)],§\§\§constant(89)§:this[§§constant(76)]() - 9 - _global[§§constant(75)][§§constant(90)],§\§\§constant(20)§:this[§§constant(77)]() - 9,§\§\§constant(21)§:this[§§constant(76)]() - 9,§\§\§constant(91)§:icon,§\§\§constant(92)§:type});
_loc5_[§§constant(95)] = function()
{
this[§§constant(87)] = this[§§constant(20)] - _global[§§constant(75)][§§constant(88)];
this[§§constant(89)] = this[§§constant(21)] - _global[§§constant(75)][§§constant(90)];
§§constant(96)();
};
_global[§§constant(97)][§§constant(98)](§§constant(95),_loc5_);
};
_loc2_[§§constant(73)] = function()
{
this[§§constant(5)] -= 4;
this[§§constant(12)][§§constant(99)](this);
if(this[§§constant(5)] <= 0)
{
§§constant(100)(this[§§constant(72)]);
this[§§constant(12)][§§constant(101)](this);
}
};
_loc2_[§§constant(71)] = function()
{
return this[§§constant(23)][this[§§constant(22)]];
};
_loc2_[§§constant(102)] = function(t)
{
var _loc2_ = 0;
while(_loc2_ < this[§§constant(23)][§§constant(103)])
{
if(this[§§constant(23)][_loc2_] == t)
{
this[§§constant(22)] = _loc2_;
}
_loc2_ = _loc2_ + 1;
}
return this[§§constant(71)]();
};
_loc2_[§§constant(104)] = function()
{
return this[§§constant(29)][this.h];
};
_loc2_[§§constant(77)] = function()
{
return this[§§constant(12)][§§constant(20)] - this[§§constant(12)][§§constant(43)] / 2 + this[§§constant(19)][§§constant(20)] + 12.5;
};
_loc2_[§§constant(76)] = function()
{
return this[§§constant(12)][§§constant(21)] - this[§§constant(12)][§§constant(42)] / 2 + this[§§constant(19)][§§constant(21)] + 12.5;
};
§§push(_loc2_[§§constant(106)](§§constant(105),_loc2_[§§constant(104)],function()
{
}
));
§§push(_loc2_[§§constant(106)](§§constant(107),_loc2_[§§constant(71)],_loc2_[§§constant(102)]));
§§push(_loc2_[§§constant(106)](§§constant(20),_loc2_[§§constant(77)],function()
{
}
));
§§push(_loc2_[§§constant(106)](§§constant(21),_loc2_[§§constant(76)],function()
{
}
));
§§push(§§constant(108)(f.h[§§constant(4)][§§constant(36)],null,1));
}
§§pop();